LDIV
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
ldiv
- return quotient and remainder from division
SYNOPSIS
Fd #include <stdlib.h>
Ft ldiv_t
Fn ldiv long num long denom
DESCRIPTION
The
Fn ldiv
function
computes the value
num/denom
and returns the quotient and remainder in a structure named
ldiv_t
that contains two
long integer
members named
quot
and
rem
SEE ALSO
div(3),
qdiv(3),
math(3)
STANDARDS
The
Fn ldiv
function
conforms to
St -ansiC .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- STANDARDS
-
This document was created by
man2html,
using the manual pages.
Time: 19:42:02 GMT, December 25, 2022